package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.blb.dto.ZType;
import java.util.List;
import com.blb.dto.ZTypeExample;
import com.blb.dao.ZTypeMapper;
import com.blb.service.ZTypeService;

@Service
public class ZTypeServiceImpl implements ZTypeService {

    @Resource
    private ZTypeMapper zTypeMapper;

    @Override
    public long countByExample(ZTypeExample example) {
        return zTypeMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZTypeExample example) {
        return zTypeMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer tid) {
        return zTypeMapper.deleteByPrimaryKey(tid);
    }

    @Override
    public int insert(ZType record) {
        return zTypeMapper.insert(record);
    }

    @Override
    public int insertSelective(ZType record) {
        return zTypeMapper.insertSelective(record);
    }

    @Override
    public List<ZType> selectByExample(ZTypeExample example) {
        return zTypeMapper.selectByExample(example);
    }

    @Override
    public ZType selectByPrimaryKey(Integer tid) {
        return zTypeMapper.selectByPrimaryKey(tid);
    }

    @Override
    public int updateByExampleSelective(ZType record, ZTypeExample example) {
        return zTypeMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ZType record, ZTypeExample example) {
        return zTypeMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZType record) {
        return zTypeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZType record) {
        return zTypeMapper.updateByPrimaryKey(record);
    }

}

